package com.sh.rbac.annotation;

import com.sh.rbac.domain.enums.OperationTypeEnum;

import java.lang.annotation.ElementType;
import java.lang.annotation.Retention;
import java.lang.annotation.RetentionPolicy;
import java.lang.annotation.Target;

/**
 * 操作日志注解
 *
 * @author wb
 * @since 2024-07-07
 */

@Target(ElementType.METHOD)
@Retention(RetentionPolicy.RUNTIME)
public @interface OperationLogger {

    /**
     * 操作模块
     */
    String module();


    /**
     * 操作类型
     */
    OperationTypeEnum type();
}
